﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TETRIS_v01.FieldObjects
{
    public class Coordinates
    {
        public int x { get; set; }
        public int y { get; set; }
        public Coordinates (int x, int y)
        {
            this.x = x;
            this.y = y;
        }
        public void Clear(int x, int y)
        {
            Console.CursorVisible = false;
            Console.SetCursorPosition(x, y);
            Console.Write(" ");        
        }    
    }
}
